Table of Contents

Module: Interfaces .\src\TW\SEF\Interfaces.py

TransWarp Service-Element-Feature Interfaces

Note that these interfaces do not comprise the entire Service-Element-Feature pattern, but only its structural aspect. Other interfaces can and should be implemented to represent other aspects in the appropiate horizontal frameworks. For example, a Zope/ZPublisher framework would probably want to have its own ITypeService, IElement, and IFeature interfaces that included an index_html method with the appropriate meaning for each type of object. (i.e., a "Find/add objects of type foo", "View this instance of type foo", and "a management screen of instances of type foo", respectively.)

(Note: the above was obviously written pre-Zope 3 component architecture, but I'm going to leave it alone for this documentation pass, which is to clean up the major atrocities, not to pick nits with the examples. ;-)

Imported modules   
import Interface
Classes   
IClassifier

Basis for all flavors

ICollection

A feature which is a collection of items which may be added or removed.

IDataType

A complex datatype

IElement

An instance of an application-domain object

IEnumeration

An enumerated type

IFeature
IPrimitiveType

A primitive type (e.g. Boolean, String, etc.)

IQuerying
IReference

A single-valued collection; upperBound==1

ISEF

Basic interface supplied by all StructuralModel objects

ISequence

An ordered collection; isOrdered==1

IService

A component instance compatible with the S-E-F framework

ITypeService

A component instance responsible for a (possibly abstract) datatype

IValue

Table of Contents

This document was automatically generated on Tue Mar 05 10:33:50 2002 by HappyDoc version WORKING